package personal.zq.practice.common.constants;

import com.google.common.collect.Lists;
import java.util.List;

public class InteractiveConstants {

    /**
     * redis 缓存超时时长
     */
    public static final int EXPIRE_TIME = 1 * 60 * 60;

    /**
     * 考试对话类型
     */
    public static final String PRACTICE_TYPE = "practiceType";

    /**
     * 场景类型
     */
    public static final String SCENE_TYPE = "sceneType";
    /**
     * 语音类型
     */
    public static final String VOICE_TYPE = "voiceType";

    /**
     * 问答对映射
     */
    public static final String QA_MAPPING = "qaMapping";

    /**
     * 交互结果
     */
    public static final String EXCHANGE_RESULT = "exchangeResult";

    /**
     * 机器人话术
     */
    public static final String ROBOT_SPEECH_CRAFT = "robotSpeechCraft";

    /**
     * 结束语
     */
    public static final String EXAM_PERORATION = "考试已经结束";

    /**
     * 场景id
     */
    public static final String SCENE_ID = "sceneId";

    /**
     * 场景id
     */
    public static final String TRAINEE_TASK_ID = "traineeTaskId";

    /**
     * 系统规则（话术规则）
     */
    public static final String RULE_PROMPTS = "rulePrompts";

    /**
     * 单节点错误次数
     */
    public static final String NODE_WRONG_TIMES = "wrongTimeNumber";

    /**
     * 回复超时
     */
    public static final String REPLY_TIME_OUT = "replyTimeOut";

    /**
     * 未理解错误次数限制
     */
    public static final String OVER_LIMIT_PROMPT = "overLimitPrompt";

    /**
     * 满分评语提示
     */
    public static final List<String> FULL_MARK_TIP = Lists.newArrayList("学霸出没，全场最佳非你莫属");

    /**
     * 优秀评语提示
     */
    public static final List<String> EXCELLENT_TIP = Lists.newArrayList("离满分只差一点点，加油", "大神，请收下我的膝盖", "有才华，就是任性");

    /**
     * 良好评语提示
     */
    public static final List<String> GOOD_TIP = Lists.newArrayList("来之不易，再接再厉", "太棒了，未来可期");

    /**
     * 不通过评语提示
     */
    public static final List<String> FAIL_TIP = Lists.newArrayList("成功有时候需要运气", "别灰心，成功近在咫尺");


    /**
     * 节点需命中关键词信息
     */
    public static final String TRUE_ANSWER = "business:trueAnswer:";

    /**
     * 语音交互练习参数key
     */
    public static final String PRACTICE_PARAMS_KEY = "business:practice:params:";

    /**
     * 计算全局错误次数key
     */
    public static final String GLOBAL_WRONG_TIMES_KEY = "business:global:wrong:times:";
}